[HVM][VMX] Fix data copying in transition to/from vmxassist.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 09:30:18 +0000 (10:30 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 29 Sep 2006 09:30:18 +0000 (10:30 +0100)
commit0de66a695f4adcf79c5f817f1ad3f6feed457edb
treeb2bd040b20c7372d7c0e32a4e6a1b31b88ca50be
parent43e0adad8de0dd117666be24c35d254fe555bec8
[HVM][VMX] Fix data copying in transition to/from vmxassist.

In vmx_assist, the copy for new/old context and vmx assist magic are
all using physical address, while hvm_copy will use the virtual address.

This may cause problem when guest jump directly from real mode to
paging mode.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/support.h